package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.VisitDto;
import com.zzyl.vo.TimeCountVo;

import java.util.List;

/**
 * @Description ReservationService
 * @Author apeng
 * @Date 2024-10-21
 */
public interface ReservationService {
    Integer getCountById();

    void insert(VisitDto visitDto);

    List<TimeCountVo> getCountByTime(Long time);

    PageResponse page(Integer pageNum, Integer pageSize, Integer status);

    void cancel(Long id);
}
